package Wires.exep;

import Wires.WiresElement;

public class WiresException extends RuntimeException{

	private static final long serialVersionUID = 5260030637100531477L;
	
	private WiresElement wEl;
	
	public WiresException(){
		super();
		wEl = null;
	}
	
	public WiresException(String msg){
		super(msg);
		wEl = null;
	}
	
	public WiresException(WiresElement wEl){
		super();
		this.wEl = wEl;		
	}
	
	public WiresException(String msg, WiresElement wEl){
		super(msg);
		this.wEl = wEl;		
	}
	
	public WiresElement getWiresElement(){
		return wEl;	
	}
	
	public void setWiresElement(WiresElement wEl){
		this.wEl = wEl;
	}

}
